package com.rj.bd.admin.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.poi.xssf.usermodel.XSSFWorkbook;
import org.springframework.web.multipart.MultipartFile;

import com.rj.bd.admin.entity.Admin;
import com.rj.bd.admin.entity.JiLu;
import com.rj.bd.user.entity.User;import cn.hutool.db.sql.Query;

public interface IAdminService {
	
	/**
	 * @desc 管理员模块的登录
	 * @param name
	 * @param password
	 * @return
	 */
	Map<String, Object> login(String name,String password);
	
	/**
	 * @desc 管理员查询所有用户
	 * @return
	 */
	Map<String, Object> queryUser();

	/**
	 * @desc 管理员查询兑换商品记录表
	 */
	Map<String, Object> queryShop();
	/**
	 * @desc 管理员查询商品表
	 * @return
	 */
	Map<String, Object> queryConversion();
	/**
	 * @desc 添加用户
	 * @param user
	 * @return
	 */
	Map<String, Object> addUser(String username, String password, String name, String sex, String tel,
			String money);

	/**
	 * @desc 管理⚪查询shop表
	 */
	Map<String, Object> queryShopJilu();
	/**
	 * @desc 修改用户积分
	 * @return
	 */
	Map<String, Object> updateUserMoney(String money,String userId);

	List<JiLu> allJiLu();

	/*int importExcel(HttpServletRequest request, HttpServletResponse response, MultipartFile upload);*/


	
	
}
